import React from 'react';
import PropTypes from 'prop-types';
import Button from 'antd/lib/button';
import Modal from 'antd/lib/modal';
import Form from 'antd/lib/form';
import Icon from 'antd/lib/icon';
import Input from 'antd/lib/input';

import Notification from 'antd/lib/notification';
import style from './style.scss';
import _ from 'lodash';
import InputForm from './inputForm'
const FormItem = Form.Item;

export default class AddNewModule extends  React.Component {
  state={
    loading: false
  }
  handleOk(){

  }
  render() {
    return <div className={style.addModule}>
      <Modal
        visible={this.props.visiableAddNew}
        title="新增模块"
        onOk={this.handleOk}
        onCancel={this.props.hideModal}
        footer={null}
      >
        <InputForm addNewModule={this.props.addNewModule}/>
      </Modal>
    </div>
  }
}

